import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:uikit/utils/screen_util/size_extension.dart';

class ToastUtil {
  static void show(String? message) {
    Fluttertoast.showToast(
      msg: message ?? "",
      toastLength: Toast.LENGTH_LONG,
      gravity: ToastGravity.CENTER,
      backgroundColor: Colors.grey,
      textColor: Colors.white,
      fontSize: 15.sp,
    );
  }
}
